package com.CMUBiS.util;

/**
 * This class holds a user's address
 * 
 * @author Andy (andrewtu@cmu.edu, turner.andy@gmail.com)
 * @version 0.1
 * @since 0.1
 * @date 04/05/2011
 */
public class Address {
	private int id;
	private int userID;
	private String street;
	private String town;
	private String zip;
	private int state;
	private Boolean isDefault;
	
	public Address(int id, int userID, String street, String town, String zip, int state, Boolean isDefault){
		this.id = id;
		this.userID = userID;
		this.street = street;
		this.town = town;
		this.zip = zip;
		this.state = state;
		this.isDefault = isDefault;
	}
	
	public int getId(){
		return this.id;
	}
	
	public int getUserID(){
		return this.userID;
	}
	
	public String getStreet(){
		return this.street;
	}
	
	public String getTown(){
		return this.town;
	}
	
	public String getZip(){
		return this.zip;
	}
	
	public int getState(){
		return this.state;
	}
	
	public Boolean getIsDefault(){
		return this.isDefault;
	}
}
